package com.hss.spring;

import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface IUser {
//    @Select("select * from user_inf where id= #{id}")
    User selectUserByID(int id);

    User getUser(int id);
    Post  getPostById(int id);

    public List<User> getUserList();

    public void insertUser(User user);

    public void updateUser(User user);

    public void deleteUser(int userId);


    public List<Order>  getUserOrders(int id);
}
